<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7 charset=utf-8" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript">
function confirmInfo(){
	
	
	var obj2=document.getElementsByName("leixing");
	
	for(var i=0;i<obj2.length;i++)
	{
		if(obj2[i].checked==true)
		{
		   temp= true;
		   break;
		}else{
		   temp = false;
		}
	}
	
	if(temp == false)
	{
		alert("请选择审核状态");
		return false;
	}
	if( !$('#pay_order_sn').val() ) {
		
		$('#pay_order_sn').focus();
		alert('请填写审核的汇款单号');
		return false;
	}  		
	if( !$('#log_text').val() ) {
		
		$('#log_text').focus();
		alert('请填写审核的备注信息');
		return false;
	}  
}
</script>
<style type="text/css">
.tab {width: 100%; height: 28px; line-height: 26px;}
.tab li {float: left; margin-right: 2px; font-size: 14px;}
.tab .active {height: 26px; color: #ff4f01; font-weight: bold; padding: 0 20px; border: 1px solid #e2e2e2; border-bottom: 1px solid #fff; background: #fff;}
FIELDSET {WIDTH: 355px; COLOR: #7c9ccd; float:left; margin-right:7px;overflow:hidden;}
legend {color:#06C}
.certificate_table table{width:100%;}
.certificate_table th{width:120px;color:#333; vertical-align:top; text-align:right; padding-right:5px; font-size:12px;line-height:23px; font-weight:normal}
.certificate_table td{vertical-align:top;color:#333; line-height:23px;}
.certificate_table i{font-size:14px; font-style:normal; color:#F00; font-weight:normal; font-family:"宋体"; padding-right:5px;}
.certificate_table .verify-tips-info {BORDER-RIGHT: #ffcc35 1px solid; PADDING-RIGHT: 4px; BORDER-TOP: #ffcc35 1px solid; PADDING-LEFT: 4px; PADDING-BOTTOM: 12px; BORDER-LEFT: #ffcc35 1px solid; COLOR: #ff0000; LINE-HEIGHT: 12px; PADDING-TOP: 12px; BORDER-BOTTOM: #ffcc35 1px solid; BACKGROUND-COLOR: #fff4c2; margin-bottom:8px}
.certificate_table strong{FONT-WEIGHT: bold; FONT-SIZE: 14px; COLOR: #ff0000;}

#warning {border:red 1px solid; background:#FFB7B7; color:#000; padding:3px 10px; margin:8px 0px; display:none; color:#000; font-weight:normal;}
#warning label {display:block; margin:3px 0px;}
#warning label.error {color:#000; font-weight:normal;}
</style>
<ul class="tab">
    <li class="active">提现记录查看</li>
</ul>
<div class="add" style="border:1px #e2e2e2 solid; padding:10px; font-size:13px; line-height:160%; overflow:hidden">
<div id="warning"></div>
<form action="index.php?app=caiwu&act=money_tx_view&id=<?php echo $this->_var['my_money']['id']; ?>" method="post" onsubmit="javascript:return confirmInfo();">
<table border="0" cellspacing="0" cellpadding="0" class="certificate_table">
  <tr>
    <th>会员名：</th>
    <td><?php echo $this->_var['my_money']['user_name']; ?></td>
  </tr>
  <tr>
    <th>提现金额：</th>
    <td><strong><?php echo $this->_var['my_money']['money_tx']; ?></strong> </td>
  </tr>
  <tr>
    <th>状态：</th>
    <td>
    <?php if ($this->_var['my_money']['leixing'] == 1): ?><font color="#FF0000">等待审核</font>
    <?php elseif ($this->_var['my_money']['leixing'] == 2): ?>等待汇款
    <?php elseif ($this->_var['my_money']['leixing'] == 3): ?><font color="#009900">已汇款</font>
    <?php elseif ($this->_var['my_money']['leixing'] == 4): ?><font color="#FF0000">被驳回</font>
    <?php elseif ($this->_var['my_money']['leixing'] == 5): ?><font color="#FF0000">汇款失败</font>
    <?php endif; ?><br />
    <?php if ($this->_var['my_money']['leixing'] <= 2): ?>
    <label><input name="leixing" type="radio" id="leixing" value="2" <?php if ($this->_var['my_money']['leixing'] == 2): ?>checked<?php endif; ?> >等待汇款</label>
    <label><input name="leixing" type="radio" id="leixing" value="3" <?php if ($this->_var['my_money']['leixing'] == 3): ?>checked<?php endif; ?> />已汇款</label>
    <label><input name="leixing" type="radio" id="leixing" value="4" <?php if ($this->_var['my_money']['leixing'] == 4): ?>checked<?php endif; ?> />被驳回</label>
    <label><input name="leixing" type="radio" id="leixing" value="5" <?php if ($this->_var['my_money']['leixing'] == 5): ?>checked<?php endif; ?> />汇款失败</label>
    <?php endif; ?>
    </td>
  </tr>
  <tr>
    <th>汇款单号：</th>
    <td><input name="pay_order_sn" type="text" id="pay_order_sn" value="<?php echo $this->_var['my_money']['pay_order_sn']; ?>" />
      没有汇款请填写0</td>
  </tr>
  <tr>
    <th>备注：</th>
    <td><textarea name="log_text" rows="2" id="log_text" style="width:300px"><?php echo $this->_var['my_money']['log_text']; ?></textarea></td>
  </tr>
  <tr>
    <th>&nbsp;</th>
    <td><input type="submit" value="确认审核" class="big_btn_1" /></td>
  </tr>
  
</table>
</form>
<br />
<fieldset>
   	<legend>实名认证-银行账户信息</legend>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="certificate_table">
  <tr>
    <th>银行开户名：</th>
    <td><?php echo $this->_var['my_money']['real_name']; ?></td>
  </tr>
  <tr>
    <th>开户银行名称：</th>
    <td><?php echo $this->_var['my_money']['bank_name']; ?></td>
  </tr>
  <tr>
    <th>开户银行所在省份：</th>
    <td><?php echo $this->_var['my_money']['bank_province']; ?></td>
  </tr>
  <tr>
    <th>支行名称：</th>
    <td><?php echo $this->_var['my_money']['bank_subbranch']; ?></td>
  </tr>
  <tr>
    <th>银行/支付宝帐号：</th>
    <td><?php echo $this->_var['my_money']['bank_account']; ?></td>
  </tr>
  <tr>
    <th>&nbsp;</th>
    <td>&nbsp;</td>
  </tr>
</table>
</fieldset>

<fieldset>
   	<legend>实名认证-个人信息</legend>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="certificate_table">
  <tr>
    <th>真实姓名：</th>
    <td><?php echo $this->_var['my_money']['real_name']; ?></td>
  </tr>
  <tr>
    <th>证件号码：</th>
    <td><?php echo $this->_var['my_money']['id_card']; ?></td>
  </tr>
  <tr>
    <th>身份证扫描件：</th>
    <td><a href="/<?php echo $this->_var['my_money']['card_pic']; ?>" target="_blank">点击查看身份证图片</a></td>
  </tr>
  <tr>
    <th>身份证有效期：</th>
    <td><?php echo $this->_var['my_money']['cart_validity']; ?></td>
  </tr>  
  <tr>
    <th>详细地址：</th>
    <td><?php echo $this->_var['my_money']['address']; ?></td>
  </tr>
  <tr>
    <th>手机号码：</th>
    <td><?php echo $this->_var['my_money']['mobile']; ?></td>
  </tr>
</table>
</fieldset>
</div>